<!DOCTYPE>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="zh_ch" />
<link rel="stylesheet" type="text/css"
	href="<?php echo Yii::app()->request->baseUrl; ?>/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css"
	href="<?php echo Yii::app()->request->baseUrl; ?>/css/bootstrap-responsive.min.css" />
<link rel="stylesheet" type="text/css"
	href="<?php echo Yii::app()->request->baseUrl; ?>/css/admin.css" />
<title><?php echo CHtml::encode($this->pageTitle); ?></title>
<?php Yii::app()->clientScript->registerCoreScript('jquery');?>
<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/bootstrap.min.js"></script>
</head>

<body>
<div class="navbar">
    <div class="navbar-inner">
      <div class="container">
        <a href="<?php echo Yii::app()->homeUrl;?>" class="brand">Admin_lexianger</a>
        <div class="nav-collapse">
          <ul class="nav pull-right">
            <li><a href="#">添加管理员</a></li>
            <li class="divider-vertical"></li>
            <li class="dropdown">
              <a data-toggle="dropdown" class="dropdown-toggle" href="#"><i class="icon-white icon-user"></i><?php echo Yii::app()->user->name;?><b class="caret"></b></a>
              <ul class="dropdown-menu">
                <li><a href="#"><i class="icon-pencil"></i>&nbsp;修改密码</a></li>
                <li><a href="#"><i class="icon-cog"></i>&nbsp;基本信息设置</a></li>
                <li><a href="#"><i class="icon-eye-open"></i>&nbsp;查看系统消息</a></li>
                <li class="divider"></li>
                <li><a href="<?php echo Yii::app()->createUrl('/site/logout');?>"><i class="icon-off"></i>&nbsp;退出登陆</a></li>
              </ul>
            </li>
          </ul>
        </div><!-- /.nav-collapse -->
      </div>
    </div><!-- /navbar-inner -->
  </div>
	<!-- header -->
	<div class="container-fluid">
		<div class="row-fluid">
			<div class="span2">
				<!--Sidebar content-->
				<div style="padding: 8px 0;" class="well">
					<ul class="nav nav-list">
						<li class="nav-header">控制面版</li>
							<li <?php if($this->channel=="system_info"):?>class="active"<?php endif;?>><a href="<?php echo Yii::app()->createUrl('/site/index');?>"><i class="icon-info-sign"></i>系统信息</a></li>
						<li class="nav-header">站点设置</li>
							<li <?php if($this->channel == "web_set_basic"):?>class="active"<?php endif;?>><a href="<?php echo  Yii::app()->createUrl('/webBasic/basic');?>"><i class="icon-wrench"></i>基本设置</a></li>
							<li <?php if($this->channel == "web_set_advance"):?>class="active"<?php endif;?>><a href="<?php echo  Yii::app()->createUrl('/webBasic/advance');?>"><i class="icon-wrench"></i>高级设置</a></li>
						<li class="nav-header">分类管理</li>
							<li <?php if($this->channel=='web_manager_cate'):?>class="active"<?php endif;?>><a href="<?php echo Yii::app()->createUrl('/category/cate');?>"><i class="icon-cog"></i>分类管理</a></li>
							<li <?php if($this->channel=='web_manager_tag'):?>class="active"<?php endif;?>><a href="<?php echo Yii::app()->createUrl('/category/tag');?>"><i class="icon-cog"></i>标签管理</a></li>
						<li class="nav-header">内容管理</li>
							<li <?php if($this->channel=='web_manager_album'):?>class="active"<?php endif;?>><a href="<?php echo Yii::app()->createUrl('/content/album');?>"><i class="icon-cog"></i>专辑管理</a></li>
							<li <?php if($this->highlight):?>class="active"<?php endif;?>><a href="#"><i class="icon-cog"></i>分享管理</a></li>
							<li <?php if($this->highlight):?>class="active"<?php endif;?>><a href="#"><i class="icon-cog"></i>评论管理</a></li>
						<li class="nav-header">用户管理</li>
							<li <?php if($this->channel=='web_manager_user'):?>class="active"<?php endif;?>><a href="<?php echo Yii::app()->createUrl('/user/index');?>"><i class="icon-cog"></i>用户管理</a></li>
						<li class="nav-header">辅助功能</li>
							<li <?php if($this->highlight):?>class="active"<?php endif;?>><a href="#"><i class="icon-cog"></i>广告管理</a></li>
							<li <?php if($this->highlight):?>class="active"<?php endif;?>><a href="#"><i class="icon-cog"></i>友情链接</a></li>
						<li class="divider"></li>
						<li><a href="#"><i class="icon-flag"></i> Help</a></li>
					</ul>
				</div>
			</div>
			<div class="span10">
				<?php if(isset($this->breadcrumbs)):?>
					<?php $this->widget('zii.widgets.CBreadcrumbs', array(
						'links'=>$this->breadcrumbs,
					)); ?><!-- breadcrumbs -->
				<?php endif?>
				<!--Body content-->
				<?php echo $content; ?>
			</div>
		</div>
	</div>
	<div class="clear"></div>
	<!-- page -->
</body>
</html>
